<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Get information about addrinfo</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.socket-addrinfo-explain" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">socket_addrinfo_explain</h1>
  <p class="verinfo">(PHP 7 &gt;= 7.2.0)</p><p class="refpurpose"><span class="refname">socket_addrinfo_explain</span> &mdash; <span class="dc-title">Get information about addrinfo</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.socket-addrinfo-explain-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>socket_addrinfo_explain</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$addr</code></span>
   ) : <span class="type">array</span></div>

  <p class="para rdfs-comment">
   <span class="function"><strong>socket_addrinfo_explain()()</strong></span> exposed the underlying
   <em>addrinfo</em> structure.
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-function.socket-addrinfo-explain-parameters">
  <h3 class="title">参数</h3>
  <dl>

   
    <dt>
<code class="parameter">addr</code></dt>

    <dd>

     <p class="para">
      Resource created from <span class="function"><strong>socket_addrinfo_lookup()()</strong></span>
     </p>
    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.socket-addrinfo-explain-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns an array containing the fields in the <em>addrinfo</em> structure.
  </p>
 </div>

 
 <div class="refsect1 seealso" id="refsect1-function.socket-addrinfo-explain-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="socket_addrinfo_bind.html" class="function" rel="rdfs-seeAlso">socket_addrinfo_bind()</a> - Create and bind to a socket from a given addrinfo</span></li>
    <li class="member"><span class="function"><a href="socket_addrinfo_connect.html" class="function" rel="rdfs-seeAlso">socket_addrinfo_connect()</a> - Create and connect to a socket from a given addrinfo</span></li>
    <li class="member"><span class="function"><a href="socket_addrinfo_lookup.html" class="function" rel="rdfs-seeAlso">socket_addrinfo_lookup()</a> - Get array with contents of getaddrinfo about the given hostname</span></li>
   </ul>
  </p>
 </div>


</div></div></div></body></html>